package com.mco.controller;

import com.mco.service.RedisService;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

import javax.annotation.Resource;

/**
 * 测试
 * @author admin
 */

@RestController
@RequestMapping
public class RedisController {

    @Resource
    private RedisService redisService;

    @GetMapping("insert")
    public  void  insertRedis(){
        redisService.insertRedis();
    }
}
